package com.zxp.mybatis.bean;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Tommy
 * Created by Tommy on 2019/6/27
 **/
@ToString
@Data
public class User implements Serializable {
    private Integer id;
    private String name;

    private Date createTime;
    private Date updateTime;

    // 表里面没有此字段
    private Long updateLongTime;

    public User() {
    }

    public User(String name, Date createTime, Date updateTime) {
        this.name = name;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

}
